<{$lmxxlist=LMXX::query(['LMXX_SFXS'=>'是','LMXX_XSWZ'=>'首页右侧','LMXX_LX'=>'公开栏目'],0,1," order by lmxx_xssx ")}>
<{foreach $lmxxlist.DataList as $lmxx }>
    <div class="resource">
        <div class="resource-title">
            <h2><{$lmxx->LMXX_JC}></h2>
            <a target="_blank" href="~/Front/TZXX_List?LMXX_BH=@(lmxx.LMXX_BH)" class="resource-title-more">More</a>
            <b class="title-triangle"></b>
        </div>
        <ul class="resource-list">
            <{$tzxxlist=TZXX::query(['LMXX_BH'=>$lmxx->LMXX_BH,'TZXX_ZT'=>'显示'],$lmxx->LMXX_MRXSTS,1," order by TZXSSX_BH desc,TZXX_RQ DESC,TZXX_SJC DESC")}>
            <{foreach $tzxxlist.DataList as $tzxx}>
                <li class="resource-item">
                    <{if $tzxx->TZXX_LX==="超链接"}>
                        <a href="@(tzxx.TZXX_CLJ)" target="_blank" class="resource-context">
                            <{if date('Y-m-d')===$tzxx->TZXX_RQ}>
                                <span style="color: red;  font-weight: bold;">[<{$tzxx->TZXX_RQ}>]</span><{$tzxx->TZXX_BT}>
                            <{else}>
                                <span>[<{$tzxx->TZXX_RQ}>]</span><{$tzxx->TZXX_BT}>
                            <{/if}>
                        </a>
                    <{else}>
                        <a href="~/Front/TZXX_Detail?TZXX_BH=@(tzxx.TZXX_BH)" target="_blank" class="resource-context">
                            <{if date('Y-m-d')===$tzxx->TZXX_RQ}>
                                <span style="color: red;  font-weight: bold;">[<{$tzxx->TZXX_RQ}>]</span><{$tzxx->TZXX_BT}>
                            <{else}>
                                <span>[<{$tzxx->TZXX_RQ}>]</span><{$tzxx->TZXX_BT}>
                            <{/if}>
                        </a>
                    <{/if}>
                </li>
            <{/foreach}>
        </ul>
    </div>
<{/foreach}>

<{$syztdhlist=SYZTDH::query(['SYZTDH_ZT'=>"启用"],3,1) }>
<{foreach $syztdhlist.DataList as $syztdh}>
    <span>
        <a target="_blank" href="<{$syztdh->SYZTDH_CLJ}>"><img src="<{$syztdh->SYZTDH_TP}>"/></a>
    </span>
<{/foreach}>
